package com.cms.admin.service.employee;

import java.util.List;

import com.cms.admin.model.DepartmentList;
import com.cms.admin.model.DepartmentListExt;

import com.cms.admin.model.PageBean;

public interface DepartmentListService {


	int getRowCount(DepartmentListExt search);
	
    int deleteByPrimaryKey(Integer deptNo);

    int insert(DepartmentList record);
    List<DepartmentList> getAllRows();
    
    List<DepartmentList> getCurrRoleAllRows(List<Integer> deptNos);
    
    
    List<DepartmentList> selectByCondition(PageBean page,DepartmentListExt search);


    int updateByPrimaryKey(DepartmentList record);
    
    DepartmentList selectByName(String  deptName);
	
}
